FROM java:8

COPY animal-hospital-0.0.1-SNAPSHOT.jar /app.jar

CMD ["--server.port=8789"]

EXPOSE 8789

ENTRYPOINT ["java","-jar","/app.jar"]  